package com.bytedance.service;

import com.bytedance.dataobject.A;
import com.bytedance.model.Result;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface AService {

    Result<A> add(A a);

    Result<List<A>> add(@Param(value = "aList") List<A> aList);

    Result<A> update(A a) throws Exception;

    Result<Integer> delete(String id);

    Result<List<A>> getLike(String id);
}
